//
//  MusicPlayingViewController.h
//  MyMusic
//
//  Created by mac on 2019/4/12.
//  Copyright © 2019 YangYang. All rights reserved.
//

#import <UIKit/UIKit.h>
@class AlbumModel;

NS_ASSUME_NONNULL_BEGIN

@interface MusicPlayingViewController : UIViewController

+(MusicPlayingViewController *)sharedInstance;

@property (nonatomic, strong) NSArray *playListModels;
@property (nonatomic, assign) NSInteger currentPlayIndex;

//-(void)setSongMessage:(AlbumModel *)model andCurrentIndex:(NSInteger)index andSongList:(NSArray *)songList;

-(void)play:(AlbumModel *)model;

/** 播放与暂停 */
-(void)playingActionMethod;
/** 上一首 */
-(void)lastMusicActionmethod;
/** 下一首 */
-(void)nextMusicActionMethod;
-(void)sliderActionMethod:(UISlider *)sender;
-(void)playingToLength:(int)length;
-(BOOL)isPlaying;

@end

NS_ASSUME_NONNULL_END
